<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div class="content">
			<div class="nav">
				<div class="box1">
					HTML/CSS
				</div>
				<div class="box2">
					Browser Side
				</div>
				<div class="box3">
					Server Side
				</div>
				<div class="box4">
					Programming
				</div>
				<div class="box5">
					XML
				</div>
				<div class="box6">
					Web Building
				</div>
				<div class="box7">
					Reference
				</div>
			</div>
		</div>
	</body>
</html>
<style type="text/css">
	.nav{
		width: 1210px;
		height: 48px;
		display: flex;
		margin: 100px auto;
	}
	.nav div{
		line-height: 48px;
		text-align: center;
		background-color: #E8E7E3;
		color: #777777;
		flex-grow:1;
	}
	.nav div:hover{
		color: #fff;
		background-color: #3f3f3f;
	}
</style>